/*
 * @FilePath     : /study_code/less/function-boolean.less
 * @Description  : 函数 boolean()
 * @Date         : 2025-04-22 10:37:30
 * @Author       : Fang YingGui
 * @LastEditors  : fangyinggui 18715384437@163.com
 * @LastEditTime : 2025-04-22 10:51:17
 */
@bg: black;
@bg-light: boolean(luma(@bg) > 50%);

div {
  background: @bg;
  color: if(@bg-light, black, white);
}

/*
div {
  background: black;
  color: white;
}
*/
